using ED.Common.BaseModel;
using ED.Model.Request;
using ED.Model.Response;

/// <summary>
/// UserRole服务
/// </summary>
namespace ED.IService
{
    public interface IUserRoleService
    {
            /// <summary>
        /// UserRole查询
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public PageOut<UserRoleRes> Page(UserRoleReq req);

        /// <summary>
        /// UserRole新增
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public Tuple<bool,string> Add(int req);

        /// <summary>
        /// UserRole更新
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public Tuple<bool, string> Update(int req);

        /// <summary>
        /// UserRole删除
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public Tuple<bool, string> Delete(int req);

        public string GetUserRole()
        {
            return "";
        }
    }
}
